fieldset {
  padding: 2rem;

  legend {

    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: rem-calc(2px) solid $primary-color;
    //position: relative;
    padding: 0rem 1rem 0.2rem 0.5rem;
    margin-left: -2rem;
    color: $bold-black;

    span {
      font-size: 1rem;
      font-weight: normal;
      color: $dark-gray;
    }
  }


  &.large-font {
    legend {
      //font-weight: bold;
      //color: $bold-black;
      //font-size: 1.5rem;
      //padding: 0rem 1rem 0.5rem 0.5rem;
//
      //span {
      //  font-weight: normal;
      //  font-size: 1.2rem;
      //}
    }

    .button {
      color: $white;
    }
  }

  //& > div:first-of-type {
  //  padding: 2rem;
  //  //border-top: rem-calc(1px) solid $light-gray;
  //  margin-top: rem-calc(-1px) - 0.5rem;
  //}
  
  margin-bottom: 2rem;
}